home *** CD-ROM | disk | FTP | other *** search
- ; This inf file controls the user's installation of your Java
- ; classes. It is provided as a template; make a copy and modify the copy.
- ; This file is separated into sections; be sure to make the
- ; necessary changes in each one.
- ; See the SDK for Java documentation (under Tools) for information on
- ; using this file with the cabarc.exe utility to distribute Java classes.
-
- [hook1]
- ; In this line, replace CabFileName.cab with the inner CAB file name
- ; that contains your classes.
- ;now replaced with native file copy via OtherFiles below
- ; uncommented line below DEW 25.02.1999
- run=xcopy /Q /R RTCChat.zip %49000%
-
- [hook2]
- ; Change the name of master.inf to the name you are assigning this
- ; file. Leave the second line alone.
- InfFile=RTCChat.inf
- InfSection=RTCInstall
-
- [Strings]
- ; Running guidgen in the SDK generates the ClassId you need to fill
- ; in here. This classId also goes in the OBJECT tag.
- ; Don't forget the set braces!
- ClassId="{50F65670-1729-11d2-A51F-0020AFE5D502}"
-
- ; Put the name by which your packages should be referred to
- ; (i.e. "Bob's Text Viewer") here.
- PackageName="ForumChat"
-
- [AddRegSection]
- ; Leave this line.
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%",,,"%PackageName%"
-
- ; Replace <aa...> with the version number (like 1,0,0,1) of this
- ; version of your library. This is so that when you want to update
- ; your libraries, you can change the version rather then the classId
- ; and the problems that go with that. If the version number here
- ; and in the OBJECT tag match the version already stored on the
- ; user's machine, it will not download the classes again, which
- ; also saves time and energy.
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InstalledVersion",,,"1,1,0,54"
-
- ; Here, replace <filename> with the name of one of the class files in
- ; your package, including the virtual path (specified in classpck.ddf)
- ; to that file. This will make sure that the classes exist on the
- ; user's system; if they don't, they will be downloaded, regardless
- ; of version numbers.
- HKLM,"Software\Classes\CLSID\%ClassId%\InstalledVersion","Path",,"%49000%\RTCChat.zip"
-
- ; Leave these keys alone.
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32",,,"%11%\MSJAVA.DLL"
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","NoJavaClass",,""
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","ThreadingModel",,"Both"
-
- ; Under most circumstances, you should leave the next two keys alone.
- ; Only change them if
- ; 1) You have not expanded the classes into their subdirectories on
- ; the user's machine, but have instead stored them in an uncompressed
- ; .ZIP file; in that case, change the appropriate value
- ; to "%49000%\<ZipFileName>".
- ;
- ; 2) You have decided to install the files onto another, hard-coded
- ; directory of your choice. This is not recommended, for you will
- ; clutter up the user's directories and have to make other changes.
- ; If you do so, though, change the appropriate value to the absolute
- ; pathname to that directory, and change it in the run= line above.
- ;
- ; If you use one of these, you will use exactly one.
- HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","Lib",,"%49000%\RTCChat.zip"
- ;HKLM,"SOFTWARE\Classes\CLSID\%ClassId%\InProcServer32","TrustLib",,"%49000%\RTCChat.zip"
-
- [DestinationDirs]
- DefaultDestDir=10,Java\Lib
-
- [DelOldFiles]
- RTCChat2.old,,,1
- RTCChat.old,,,1
-
- [RenOldFiles]
- RTCChat2.old,RTCChat.old
- RTCChat.old,RTCChat.zip
-
- [OtherFiles]
- RTCChat.zip,,,32
-
- [SourceDisksFiles]
- RTCChat.zip=1
- RTCChat.old=1
- RTCChat2.old=1
-
- [SourceDisksNames]
- 1=%PackageName%,"",0
-
- [PackageDestination49000]
- ; This value should only change if you have decided to place your
- ; classes in the TrustedClasspath. In that case, you
- ; will change "LibsDirectory" to "TrustedLibsDirectory".
- "HKLM","Software\Microsoft\Java VM","LibsDirectory","",""
-
- [Version]
- signature="$CHICAGO$"
- AdvancedINF=2.0
-
- [MyCustomDestination]
- 49000=PackageDestination49000,23
-
- [Setup Hooks]
- hook1=hook1
- hook2=hook2
-
- [DefaultInstall]
- CustomDestination=MyCustomDestination
- AddReg=AddRegSection
-
- [RTCInstall]
- ; DelFiles & RenFiles here function OK but pointless because
- ; rename fails (in unfriendly way) when IE is using old version.
- ;DelFiles=DelOldFiles
- ;RenFiles=RenOldFiles
- CopyFiles=OtherFiles
- ;DelFiles=DelOldFiles
-